<!DOCTYPE html>



  


<html class="theme-next gemini use-motion" lang="zh-CN">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">












<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />






















<link href="/fate.github.io/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/fate.github.io/css/main.css?v=6.0.4" rel="stylesheet" type="text/css" />


  <link rel="apple-touch-icon" sizes="180x180" href="/fate.github.io/images/apple-touch-icon-next.png?v=6.0.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/fate.github.io/images/favicon-32x32-next.png?v=6.0.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/fate.github.io/images/favicon-16x16-next.png?v=6.0.4">


  <link rel="mask-icon" href="/fate.github.io/images/logo.svg?v=6.0.4" color="#222">









<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/fate.github.io/',
    scheme: 'Gemini',
    version: '6.0.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: false,
    fastclick: false,
    lazyload: false,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>


  




  
  <meta name="keywords" content="-hexo," />


<meta name="description" content="今天闲来无事就更新了一下主题，谁知道更新后头像显示不出来了。经过好长好长时间的摸索，终于把这个问题解决了。原来以前的next主题设置头像是设置在url后面的，就像这样更新后的主题是直接写在avatar后面的虽说问题显得很弱智，但是不注意真的很容易看漏 希望大家不要像我这样犯这种低级错误我又回来了，刚刚生成页面的时候发现菜单栏地址总是多了个 &#x2F; 百思不得其解啊，后来在一篇博客看到是因为官方坑人的，原">
<meta property="og:type" content="article">
<meta property="og:title" content="hexo头像设置出错问题">
<meta property="og:url" content="https://fatelove.gitee.io/fate.github.io/2020/03/07/auator/index.html">
<meta property="og:site_name" content="龙哥的博客">
<meta property="og:description" content="今天闲来无事就更新了一下主题，谁知道更新后头像显示不出来了。经过好长好长时间的摸索，终于把这个问题解决了。原来以前的next主题设置头像是设置在url后面的，就像这样更新后的主题是直接写在avatar后面的虽说问题显得很弱智，但是不注意真的很容易看漏 希望大家不要像我这样犯这种低级错误我又回来了，刚刚生成页面的时候发现菜单栏地址总是多了个 &#x2F; 百思不得其解啊，后来在一篇博客看到是因为官方坑人的，原">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://s2.ax1x.com/2020/03/07/3jyyWV.png">
<meta property="og:image" content="https://s2.ax1x.com/2020/03/07/3jy6zT.png">
<meta property="og:image" content="https://s2.ax1x.com/2020/03/07/3jTfgJ.png">
<meta property="og:image" content="https://s2.ax1x.com/2020/03/07/3jTRCF.png">
<meta property="article:published_time" content="2020-03-07T13:24:13.000Z">
<meta property="article:modified_time" content="2020-03-08T03:17:54.784Z">
<meta property="article:author" content="邓氏一族少主">
<meta property="article:tag" content="-hexo">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://s2.ax1x.com/2020/03/07/3jyyWV.png">



  <link rel="alternate" href="/fate.github.io/atom.xml" title="龙哥的博客" type="application/atom+xml" />




  <link rel="canonical" href="https://fatelove.gitee.io/fate.github.io/2020/03/07/auator/"/>



<script type="text/javascript" id="page.configurations">
  CONFIG.page = {
    sidebar: "",
  };
</script>
  <title>hexo头像设置出错问题 | 龙哥的博客</title>
  









  <noscript>
  <style type="text/css">
    .use-motion .motion-element,
    .use-motion .brand,
    .use-motion .menu-item,
    .sidebar-inner,
    .use-motion .post-block,
    .use-motion .pagination,
    .use-motion .comments,
    .use-motion .post-header,
    .use-motion .post-body,
    .use-motion .collection-title { opacity: initial; }

    .use-motion .logo,
    .use-motion .site-title,
    .use-motion .site-subtitle {
      opacity: initial;
      top: initial;
    }

    .use-motion {
      .logo-line-before i { left: initial; }
      .logo-line-after i { right: initial; }
    }
  </style>
</noscript>

<meta name="generator" content="Hexo 4.2.0"></head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-CN">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"> <div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/fate.github.io/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">龙哥的博客</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle"></p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/fate.github.io/" rel="section">
            <i class="menu-item-icon fa fa-fw fa-home"></i> <br />首页</a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/fate.github.io/tags/" rel="section">
            <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />标签</a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/fate.github.io/categories/" rel="section">
            <i class="menu-item-icon fa fa-fw fa-th"></i> <br />分类</a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/fate.github.io/archives/" rel="section">
            <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />归档</a>
        </li>
      
        
        <li class="menu-item menu-item-wechat">
          <a href="https://s1.ax1x.com/2020/05/03/Jzxscq.md.jpg" target="_blank" rel="section noopener">
            <i class="menu-item-icon fa fa-fw fa-question-circle"></i> <br />WECHat</a>
        </li>
      

      
    </ul>
  

  
</nav>


  



<div class="busuanzi-count" font-size:10px>
    <script async="" src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
    <span class="site-uv">
      <i class="fa fa-user"></i>
      访问用户： <span class="busuanzi-value" id="busuanzi_value_site_uv"></span> 人
    </span>
    <div class="powered-by"></div>
    <span class="site-uv">
      <i class="fa fa-eye"></i>
      访问次数： <span class="busuanzi-value" id="busuanzi_value_site_pv"></span> 次
    </span>
    <!-- 博客字数统计 
    <span class="site-pv">
      <i class="fa fa-pencil"></i>
      博客全站共： <span class="post-count"></span> 字
    </span>-->
</div>
<!--<div>
<p id="demo" ></p>
    <button type="button" onclick="grt()">nihao</button>
    <script>
        function grt() {
          var xhttp = new XMLHttpRequest();
          xhttp.onreadystatechange = function() {
            if (this.readyState == 4 && this.status == 200) {
              document.getElementById("demo").innerHTML = this.responseText;
              console.log(this.responseText);
            }
          };
          xhttp.open("GET", "https://api.uomg.com/api/comments.163?format=text", true);
          xhttp.send();
        }
        </script>
</div>
-->
 </div>
    </header>

    


    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="https://fatelove.gitee.io/fate.github.io/fate.github.io/2020/03/07/auator/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="邓氏一族少主">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="https://s1.ax1x.com/2020/04/14/JSj75T.th.jpg">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="龙哥的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">hexo头像设置出错问题</h1>
        

        <div class="post-meta">
        



<br>
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-03-07T21:24:13+08:00">2020-03-07</time>
            

            
            
              
                
              
            

            
              
              <span class="post-meta-divider">|</span>
              

              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-check-o"></i>
              </span>
              
                <span class="post-meta-item-text">更新于&#58;</span>
              
              <time title="更新于" itemprop="dateModified" datetime="2020-03-08T11:17:54+08:00">2020-03-08</time>
            
          </span>

          
            <span class="post-category" >
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/fate.github.io/categories/bugs/" itemprop="url" rel="index"><span itemprop="name">-bugs</span></a></span>

                
                
              
            </span>
          

          
            
          

          
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>今天闲来无事就更新了一下主题，谁知道更新后头像显示不出来了。经过好长好长时间的摸索，终于把这个问题解决了。<br>原来以前的next主题设置头像是设置在url后面的，就像这样<br><img src="https://s2.ax1x.com/2020/03/07/3jyyWV.png" alt="更新前"><br>更新后的主题是直接写在avatar后面的<br><img src="https://s2.ax1x.com/2020/03/07/3jy6zT.png" alt="更新后"><br>虽说问题显得很弱智，但是不注意真的很容易看漏</p>
<h3 id="希望大家不要像我这样犯这种低级错误"><a href="#希望大家不要像我这样犯这种低级错误" class="headerlink" title="希望大家不要像我这样犯这种低级错误"></a>希望大家不要像我这样犯这种低级错误</h3><h2 id="我又回来了，刚刚生成页面的时候发现菜单栏地址总是多了个"><a href="#我又回来了，刚刚生成页面的时候发现菜单栏地址总是多了个" class="headerlink" title="我又回来了，刚刚生成页面的时候发现菜单栏地址总是多了个 /"></a>我又回来了，刚刚生成页面的时候发现菜单栏地址总是多了个 <code>/</code></h2><p><img src="https://s2.ax1x.com/2020/03/07/3jTfgJ.png" alt="3jTfgJ.png"></p>
<h3 id="百思不得其解啊，后来在一篇博客看到是因为官方坑人的，原来没更新的时候是这样的"><a href="#百思不得其解啊，后来在一篇博客看到是因为官方坑人的，原来没更新的时候是这样的" class="headerlink" title="百思不得其解啊，后来在一篇博客看到是因为官方坑人的，原来没更新的时候是这样的"></a>百思不得其解啊，后来在一篇博客看到是因为官方坑人的，<br>原来没更新的时候是这样的</h3><figure class="highlight plain"><figcaption><span>/ || home</span></figcaption><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">#about: &#x2F;about&#x2F; || user</span><br><span class="line">#tags: &#x2F;tags&#x2F; || tags</span><br><span class="line">categories: &#x2F;categories&#x2F;|| th</span><br><span class="line">archives: &#x2F;archives&#x2F;|| archive</span><br></pre></td></tr></table></figure>
<p>每个/后面有个空格，更新后不支持这种写法了，把空格删掉就OK了<br><img src="https://s2.ax1x.com/2020/03/07/3jTRCF.png" alt="3jTRCF.png"></p>
<h2 id="不玩了，一天天的什么事儿啊，文档也不写清楚，让我这么晕很好玩吗？睡了睡了"><a href="#不玩了，一天天的什么事儿啊，文档也不写清楚，让我这么晕很好玩吗？睡了睡了" class="headerlink" title="不玩了，一天天的什么事儿啊，文档也不写清楚，让我这么晕很好玩吗？睡了睡了"></a>不玩了，一天天的什么事儿啊，文档也不写清楚，让我这么晕很好玩吗？睡了睡了</h2>
      
    </div>

    

    
    
    

    

    

    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/fate.github.io/tags/hexo/" rel="tag"># -hexo</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/fate.github.io/2020/03/05/undefined/" rel="next" title="mysql入门笔记">
                <i class="fa fa-chevron-left"></i> mysql入门笔记
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/fate.github.io/2020/03/08/rssLost/" rel="prev" title="hexo生成rss地址错误问题">
                hexo生成rss地址错误问题 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image"
                src="https://s1.ax1x.com/2020/04/14/JSj75T.th.jpg"
                alt="邓氏一族少主" />
            
              <p class="site-author-name" itemprop="name">邓氏一族少主</p>
              <p class="site-description motion-element" itemprop="description">欢迎您的到来</p>
          </div>

          
            <nav class="site-state motion-element">
              
                <div class="site-state-item site-state-posts">
                
                  <a href="/fate.github.io/archives/%7C%7C%20archive">
                
                    <span class="site-state-item-count">14</span>
                    <span class="site-state-item-name">日志</span>
                  </a>
                </div>
              

              
                
                
                <div class="site-state-item site-state-categories">
                  <a href="/fate.github.io/categories/index.html">
                    
                    
                      
                    
                      
                    
                      
                    
                      
                    
                    <span class="site-state-item-count">4</span>
                    <span class="site-state-item-name">分类</span>
                  </a>
                </div>
              

              
                
                
                <div class="site-state-item site-state-tags">
                  <a href="/fate.github.io/tags/index.html">
                    
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                    <span class="site-state-item-count">8</span>
                    <span class="site-state-item-name">标签</span>
                  </a>
                </div>
              
            </nav>
          

          
            <div class="feed-link motion-element">
              <a href="/fate.github.io/atom.xml" rel="alternate">
                <i class="fa fa-rss"></i>
                RSS
              </a>
            </div>
          

          

          
          

          
          

          
            
          
          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-3"><a class="nav-link" href="#希望大家不要像我这样犯这种低级错误"><span class="nav-number">1.</span> <span class="nav-text">希望大家不要像我这样犯这种低级错误</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#我又回来了，刚刚生成页面的时候发现菜单栏地址总是多了个"><span class="nav-number"></span> <span class="nav-text">我又回来了，刚刚生成页面的时候发现菜单栏地址总是多了个 &#x2F;</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#百思不得其解啊，后来在一篇博客看到是因为官方坑人的，原来没更新的时候是这样的"><span class="nav-number">1.</span> <span class="nav-text">百思不得其解啊，后来在一篇博客看到是因为官方坑人的，
原来没更新的时候是这样的</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#不玩了，一天天的什么事儿啊，文档也不写清楚，让我这么晕很好玩吗？睡了睡了"><span class="nav-number"></span> <span class="nav-text">不玩了，一天天的什么事儿啊，文档也不写清楚，让我这么晕很好玩吗？睡了睡了</span></a></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2020</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">邓氏一族少主</span>

  

  
</div>




  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/theme-next/hexo-theme-next">NexT.Gemini</a> v6.0.4</div>



<!--<div class="busuanzi-count">
    <script async="" src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
    <span class="site-uv">
      <i class="fa fa-user"></i>
      访问用户： <span class="busuanzi-value" id="busuanzi_value_site_uv"></span> 人
    </span>
    <div class="powered-by"></div>
    <span class="site-uv">
      <i class="fa fa-eye"></i>
      访问次数： <span class="busuanzi-value" id="busuanzi_value_site_pv"></span> 次
    </span>
     博客字数统计 
    <span class="site-pv">
      <i class="fa fa-pencil"></i>
      博客全站共： <span class="post-count"></span> 字
    </span>-->
</div>
        
<div class="busuanzi-count">
  <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  
    <span class="site-uv" title="总访客量">
      <i class="fa fa-user"></i>
      <span class="busuanzi-value" id="busuanzi_value_site_uv"></span>
    </span>
  

  
    <span class="site-pv" title="总访问量">
      <i class="fa fa-eye"></i>
      <span class="busuanzi-value" id="busuanzi_value_site_pv"></span>
    </span>
  
</div>









        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>


























  
  
    <script type="text/javascript" src="/fate.github.io/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/fate.github.io/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/fate.github.io/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  


  


  <script type="text/javascript" src="/fate.github.io/js/src/utils.js?v=6.0.4"></script>

  <script type="text/javascript" src="/fate.github.io/js/src/motion.js?v=6.0.4"></script>



  
  


  <script type="text/javascript" src="/fate.github.io/js/src/affix.js?v=6.0.4"></script>

  <script type="text/javascript" src="/fate.github.io/js/src/schemes/pisces.js?v=6.0.4"></script>



  
  <script type="text/javascript" src="/fate.github.io/js/src/scrollspy.js?v=6.0.4"></script>
<script type="text/javascript" src="/fate.github.io/js/src/post-details.js?v=6.0.4"></script>



  


  <script type="text/javascript" src="/fate.github.io/js/src/bootstrap.js?v=6.0.4"></script>



  



	





  





  










  





  

  

  

  

  
  

  

  

  

  

</body>
</html>
<script type="text/javascript" src="//cdn.bootcss.com/canvas-nest.js/1.0.0/canvas-nest.min.js"></script>